from selenium import webdriver


# 方式二：指定Chrom浏览器的位置：options参数
chrom_location = r'D:\chrome-win\chrome.exe'
options = webdriver.ChromeOptions()
options.binary_location = chrom_location